package com.example.bankend.service.impl;



import com.example.bankend.model.Deposit;

import java.util.List;

public interface DepositService {
    int insert(Deposit deposit);

    int deleteByPrimaryKey(Integer savingID);

    int updateByPrimaryKey(Deposit deposit);

    Deposit selectByPrimaryKey(Integer savingID);
    //处理存取款
    int processTransaction(String cardID, Double amount, String descrip, String savingName);
    List<Deposit> selectAll();
}
